package com.recsmile.sgs.entity;

import com.recsmile.sgs.Cmd;
import com.recsmile.sgs.core.Packet;
import com.recsmile.sgs.core.Player;

/**
 * Created by hanyuanliang on 16/8/24.
 */

@Cmd(100)
public class RequestEnterRoomPacket extends Packet{

    private Player player;

    public Player getPlayer() {
        return player;
    }

    public void setPlayer(Player player) {
        this.player = player;
    }

    public RequestEnterRoomPacket withPlayer(Player player){
        this.player = player;
        return this;
    }
}
